import HttpRequest from "../request";

//上传资源到本地服务器
export function uploadImg(params) {
  return HttpRequest({
    url: '/upload/file',
    method: 'POST',
    params: params
  })
}